Page({
    data: {
        imageWidth: wx.getSystemInfoSync().windowWidth,
        Topimg: [ "https://wq.qyyh.xyz/xcx/xcxtz/wzry/lb/1.jpg", "https://wq.qyyh.xyz/xcx/xcxtz/wzry/lb/2.jpg", "https://wq.qyyh.xyz/xcx/xcxtz/wzry/lb/3.jpg", "https://wq.qyyh.xyz/xcx/xcxtz/wzry/lb/4.jpg" ]
    },
    onLoad: function(t) {
        var e = this;
        this.setData({
            hero_name: t.hero_name,
            hero_id: t.hero_id
        }), wx.request({
            url: "https://xcx.suyiboke.com/addons/blog/wxapp.index/get_hero_info?id=" + t.hero_id,
            method: "GET",
            success: function(t) {
                e.setData({
                    tongpai: t.data.data.hero_data
                });
            }
        }), wx.request({
            url: "https://xcx.suyiboke.com/addons/blog/wxapp.index/get_hero_info?id=" + t.hero_id,
            method: "GET",
            success: function(t) {
                e.setData({
                    yinpai: t.data.data.hero_data
                });
            }
        }), wx.request({
            url: "https://xcx.suyiboke.com/addons/blog/wxapp.index/get_hero_info?id=" + t.hero_id,
            method: "GET",
            success: function(t) {
                e.setData({
                    jinpai: t.data.data.hero_data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {
        return {
            title: "免费查王者荣耀战力排行榜，助你最低战力上榜！快速拿标！",
            path: "/pages/rename/rename",
            imageUrl: "https://cy.wen1024.com/img/wzzlphb/images/share.png"
        };
    },
    onShareTimeline: function() {
        return {
            title: "免费查王者荣耀战力排行榜，助你最低战力上榜！快速拿标！",
            path: "/pages/rename/rename"
        };
    }
});

var t = null;

wx.createInterstitialAd && ((t = wx.createInterstitialAd({
    adUnitId: "adunit-a2c2bdff627f59a1"
})).onLoad(function() {}), t.onError(function(t) {}), t.onClose(function() {})), 
t && t.show().catch(function(t) {
    console.error(t);
});